<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- 引入标签库 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>三八--投票结果</title>

    <link rel="stylesheet" type="text/css" href="style.css">
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
    
  </head>
  <body style="background-color: #FFFACD;">  	
  	<div class="container">
  		<header>
  			<center><img class="img-responsive" src="img/logo.jpg" alt=""></center>
  		</header>
	    <div class="nav">
	    	<h4 class="text-center">三八妇女节投票结果</h4>
	    	<div class="row">
	    		<div class="col-xs-1"></div>
	  			<div class="col-xs-5"><a href="indexServlet"><img class="img-responsive" src="img/nav-txt1.png" alt=""></a></div>
	  			<div class="col-xs-5"><a href="resultServlet"><img class="img-responsive" src="img/nav-txt2.png" alt=""></a></div>
	  			<div class="col-xs-1"></div>
			</div>
	    </div>
	    <div class="nav-btm"></div>
		
		<form>
			<div class="input-group search">
			    <input type="text" class="form-control" placeholder="搜海报名称或编号" aria-describedby="basic-addon2">
			    <span class="input-group-addon" id="basic-addon2">搜索</span>
			</div>
		</form>

		<div class="content">
			<ul class="list-group">
			<c:forEach var="poster" items="${requestScope.resultList}" varStatus="st">
			    <li class="list-group-item">
			        <span class="badge">${poster.total }</span>
			        ${poster.posterID }    ${poster.name }
			    </li>
			</c:forEach>
			</ul>
		</div>
		<footer>
			<img class="img-responsive" src="img/foot.png" alt="">
		</footer>
	</div>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>